// var yangzi:string = '刘德华'
// function zhengXing():void{
// 	console.log(yangzi)
// 	var yangzi:string = '马德华'
// 	console.log(yangzi)
// }

// zhengXing()
// console.log(yangzi)

var zhengRong  = function():void {  //块级作用域虽然会报错 但也起作用
	var yangzia:string = '瓜皮'
	{
		let yangzib:string = '蛇皮'
		console.log(yangzib)
	}
	console.log(yangzia)
	console.log(yangzib)
}

zhengRong()
